package com.geekteam.geometrychess.utils;

import java.util.ArrayList;

public class Constants {
	public static final String publicRoom = "TheLobby";

	public static final String DEFAULT_GROUP_ROOM = "default";

	public final static double COIN_PRESENT_INSTALL_GAME = 10000;
	public final static String DESC_PRESENT_INSTALL_GAME = "Tặng ban đầu khi cài đặt game";
	public final static double COIN_PRESENT_LOGIN_DAILY = 3000;
	public final static String DESC_PRESENT_LOGIN_DAILY = "Tặng tiền đăng nhập game hằng ngày";

	public final static int LIMIT_PLAYERS_IN_ROOM = 20000;

	public static final int MAX_PLAYERS_TO_PLAY = 2;

	public static final int CONFIG_DEFAULT_TIME_TOTAL = 10;
	public static final int CONFIG_DEFAULT_TIME_TURN = 10;
	public static final int CONFIG_DEFAULT_NUM_SET = 3;
	
	public static final int		MAX_PLAYER					= 10;
	public static final int		MAX_USER					= 100;
	public static final int		MAX_BAN_CHOI				= 20;
	public static final int		MAX_PHONG_CHOI				= 5;
	public static final ArrayList<String> DEFAULT_GROUP_CHESS = new ArrayList<String>(){
		/**
		 * 
		 */
		private static final long serialVersionUID = 5639136457349484516L;

		{
			add("cohinh1");
			add("cohinh2");
			add("cohinh3");
			add("cohinh4");
			add("cohinh5");
		}
	};
	
	//chess constant
	public interface ChessConstants{
		public static final int WHITE_SIMPLE_ID_ONE = 11;
		public static final int WHITE_SIMPLE_ID_TWO = 12;
		public static final int WHITE_SIMPLE_ID_THREE = 13;
		public static final int WHITE_SIMPLE_ID_FOUR = 14;
		public static final int WHITE_SIMPLE_ID_FIVE = 15;
		public static final int WHITE_SIMPLE_ID_SIX = 16;
		public static final int WHITE_SIMPLE_ID_SEVEN = 17;
		public static final int WHITE_SIMPLE_ID_EIGHT = 18;
		public static final int WHITE_SIMPLE_ID_NINE = 19;
		
		public static final int DARK_SIMPLE_ID_ONE = 21;
		public static final int DARK_SIMPLE_ID_TWO = 22;
		public static final int DARK_SIMPLE_ID_THREE = 23;
		public static final int DARK_SIMPLE_ID_FOUR = 24;
		public static final int DARK_SIMPLE_ID_FIVE = 25;
		public static final int DARK_SIMPLE_ID_SIX = 26;
		public static final int DARK_SIMPLE_ID_SEVEN = 27;
		public static final int DARK_SIMPLE_ID_EIGHT = 28;
		public static final int DARK_SIMPLE_ID_NINE = 29;
	}
	
	public interface Key{
		public static final String VARIABLE = "variables";
		public static final String NAME = "name";
		public static final String USER_NAME = "playerName";
		public static final String EMAIL = "email";
		public static final String AVATAR = "avatar";
		public static final String BIRTHDAY= "birthday";
		public static final String GENDER = "gender";
		public static final String EXP= "exp";
		public static final String MONEY= "money";
		public static final String WIN= "win";
		public static final String TOTAL= "total";
		public static final String LEVEL= "level";
		public static final String ID= "id";
		public static final String SFS_ID = "sfsId";
		public static final String IS_OWNER= "isOwner";
		public static final String IS_WINNER= "isWinner";
		public static final String IS_SPECTOR= "isSpector";
		
		public static final String CODE = "code";
		public static final String MESSAGE = "message";
		public static final String ID_START= "idStart";
		public static final String TIME_TOTAL = "timerTotal";
		public static final String TIME_TURN = "timerTurn";
		
		public static final String ID_PIECE = "idPiece";
		public static final String TARGET_POS_X = "targetPosX";
		public static final String TARGET_POS_Y = "targetPosY";
		public static final String CURRENT_POS_X = "currentPosX";
		public static final String CURRENT_POS_Y = "currentPosY";
		public static final String NUMBER_GEO = "numberGEO";
		public static final String POINT = "point";
		public static final String TYPE_GEO = "typeGEO";
		public static final String IS_LINE = "isLine";
		public static final String IS_TRIANGLE = "isTriangle";
		public static final String IS_SQUARE = "isSquare";
		public static final String IS_MULTIPLE = "isMultiple";
		public static final String USER_MOVE = "userMove";
	}
}

